<template>
  <el-tabs v-model="activeName" @tab-click="handleClick">
    <el-tab-pane label="表单设计" name="second">
      <Form></Form>
    </el-tab-pane>
    <el-tab-pane label="流程设计" name="third">
      <Flowy></Flowy>
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import Form from "@/components/form/index";
import Flowy from "@/components/flowy/index";

export default {
  name: "index",
  components: {Form, Flowy},
  data() {
    return {
      activeName: 'second'
    };
  },
  methods: {
    handleClick(tab, event) {
    }
  }
}
</script>

<style scoped>
.el-tabs {
  width: 100%;
  height: 100%;
}
</style>
